/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package me.tomato3017.plugins.epicmusic;

import org.getspout.spoutapi.event.spout.SpoutCraftEnableEvent;
import org.getspout.spoutapi.event.spout.SpoutListener;

/**
 *
 * @author Anthony Kirksey <Anthony.Kirksey@gmail.com>
 */
public class EpicMusicSpoutListener extends SpoutListener{
    EpicMusic plugin;

    public EpicMusicSpoutListener(EpicMusic plugin) {
        this.plugin = plugin;
    }

    @Override
    public void onSpoutCraftEnable(SpoutCraftEnableEvent event) {
        EpicMusic.getThreadManager().createPlayerThread(event.getPlayer());
        EpicMusic.sendPlayerMessage(event.getPlayer(), "EpicMusic v2.0 Enabled!");
    }
    
}
